package com.project.service.impl;


import com.project.bean.SectorBean;
import com.project.mapper.ISectorMapper;
import com.project.service.ISectorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.time.LocalDate;
import java.util.List;

@Service
@Transactional
public class SectorServiceImpl implements ISectorService {
      @Autowired
      private ISectorMapper mapper;
      
      @Override
      public List<SectorBean> findByClasses(LocalDate star, LocalDate end) {
            return mapper.findByClasses(star, end);
      }
      
}
